<!DOCTYPE html>
<html lang="en">
    <include file="Public/head" />
<body data-type="widgets">
    <script src="__PUBLIC__/assets/js/theme.js"></script>
    <div class="am-g tpl-g">
        <!-- 头部 -->
        <header>
            <!-- logo -->
            <div class="am-fl tpl-header-logo">
                <a href="javascript:;"><img src="__PUBLIC__/assets/img/logo.png"></a>
            </div>
            <!-- 右侧内容 -->
            <div class="tpl-header-fluid">
                <!-- 侧边切换 -->
                <div class="am-fl tpl-header-switch-button am-icon-list">
                    <span>

                </span>
                </div>
                <!-- 其它功能-->
                <div class="am-fr tpl-header-navbar">
                    <ul>
                        <!-- 欢迎语 -->
                        <li class="am-text-sm tpl-header-navbar-welcome">
                            <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
                        </li>
                        <!-- 退出 -->
                        <li class="am-text-sm">
                            <a href="javascript:;">
                                <span class="am-icon-sign-out"></span> 退出
                            </a>
                        </li>
                    </ul>
                </div>
            </div>

        </header>
        <!-- 风格切换 -->
        <div class="tpl-skiner">
            <div class="tpl-skiner-toggle am-icon-cog">
            </div>
            <div class="tpl-skiner-content">
                <div class="tpl-skiner-content-title">
                    选择主题
                </div>
                <div class="tpl-skiner-content-bar">
                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
                </div>
            </div>
        </div>
        
<include file="Public/left" />
        <!-- 内容区域 -->
        <div class="tpl-content-wrapper">

            <div class="row-content am-cf">
                <div class="row">

                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                          <div class="widget-title am-fl">
                              <h1 style="display:inline">管理活动</h1><a href="addactivity.html"></a></div>
                            
                            <div class="widget-body  widget-body-lg am-fr">

                                    <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                                        <thead>
                                            <tr>
                                                <th>序号</th>
                                                <th>活动名称</th>
                                                <th>活动介绍</th>
                                                <th>活动地址</th>
                                                <th>收费金额</th>
                                                <th>活动时间</th>
                                                <th>联系电话</th>
                                                <th>报名人数</th>
                                                <th>缩略图</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <volist name="activity" id="vo">
                                            <tr class="gradeX">
                                                <td class="am-text-middle">{$i}</td>
                                                <td class="am-text-middle">{$vo.activityname}</td>
                                                <td class="am-text-middle">{$vo.introduction}</td>
                                                <td class="am-text-middle">{$vo.address}</td>
                                                <td class="am-text-middle">{$vo.price}</td>
                                                <td class="am-text-middle">{$vo.time}</td>
                                                <td class="am-text-middle">{$vo.phone}</td>
                                                <td class="am-text-middle">{$vo.num}</td>
                                                <td>
                                                    <img src="__PUBLIC__/photo/{$vo.pic}" class="tpl-table-line-img" alt="">
                                                </td>
                                                
                                                <td class="am-text-middle">
                                                    <div class="tpl-table-black-operation">

                                                        <a href="{:U('Home/activity/delete',array('activityid'=>$vo['activityid']))}" class="tpl-table-black-operation-del">
                                                            <i class="am-icon-trash"></i> 删除
                                                        </a>
                                                    </div>
                                                </td>
                                            </tr>
                                            </volist>
                                        </tbody>
                                    </table>

                            </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
    </div>

    <include file="Public/bottom" />
</body>

</html>  